package com.stu.control;

import com.stu.beans.User;
import com.stu.service.UserService;

public class UserControl {
    private UserService userService = new UserService();
    public boolean login(User user) {
        return userService.login(user);
    }

    public int registerUser(User user){
        return userService.registerUser(user);
    }
}
